﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="XiaoShou_FuKuan_In.aspx.cs" Inherits="syc.Sale.XiaoShou_FuKuan_In" %>

<head runat="server">
    <title></title>
    <style type="text/css">
        .style2
        {
            width: 744px;
        }
        .style3
        {
            width: 232px;
        }
        .style5
        {
            width: 237px;
        }
        .style6
        {
            width: 169px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
     <script type="text/javascript" language="javascript" src="/common.js"></script>
    
    <div id="wintop" class="wintop"><span lang="zh-cn">销售收款登记</span></div>
        <asp:Panel ID="Panel1" runat="server" CssClass="panel" Height="26px" 
         Width="1000px">
            <asp:Button ID="Button_Finish" runat="server" CssClass="button" 
                onclick="Button_Finish_Click" Text="保 存" UseSubmitBehavior="False" 
                Width="46px" />
            <span lang="zh-cn">&nbsp; </span>
            <asp:Button ID="Button_Modify" runat="server" Text="返回" CssClass="button" 
                Width="46px" UseSubmitBehavior="False" onclick="Button_Modify_Click"/>
        </asp:Panel>
        <asp:Panel ID="Panel2" runat="server" CssClass="panel2" Width="1000px">
            <asp:Label ID="Message" runat="server" Text="·准备就绪" CssClass="prompt"></asp:Label>
        </asp:Panel>   </div>
<div align="left"><script>    putBillHead();</script>
        <div id="Title" align="center" ><span lang="zh-cn"><h2><u>销售收款录入</u></h2></div>
        <table border="1"   align="center"
         style="border-collapse: collapse;font-size:14px; padding:20px;" 
        class="style2">
	        <tr>
	       
	         <td class="style6">到<span lang="zh-cn">款单号：</span><asp:TextBox ID="FaPiaoHao" CssClass="intxt1" 
                    runat="server" Width="75px" ForeColor="Red">00</asp:TextBox>
             </td>             
             <td class="style5" >
                 到<span lang="zh-cn">款日期：</span><asp:TextBox ID="RiQi" runat="server" CssClass="intxt1" 
                        Width="110px"></asp:TextBox>
                        <img alt="" src="/Icons/29.png" align="middle" onclick="makecalendar(document.getElementById('RiQi').value, document.getElementById('RiQi'));" /></td>
                 <td class="style3">合同编号：<asp:DropDownList ID="HeTongHao" runat="server" 
                         DataSourceID="SqlDataSource1" DataTextField="合同编号" DataValueField="ID" 
                         AutoPostBack="True" 
                         onselectedindexchanged="HeTongHao_SelectedIndexChanged" >
                     </asp:DropDownList>
                     <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                         ConnectionString="<%$ ConnectionStrings:SCMConnectionString1 %>" 
                         SelectCommand="SELECT 0 as [ID], '请选择合同号' as [合同编号] UNION  SELECT [ID],[合同编号] FROM [产品销售合同]"></asp:SqlDataSource>
                </td>
         
	        </tr>
	        <tr>
	       
	         <td class="style6">单位名称：<asp:TextBox ID="GongHuoDanWei" runat="server" Width="97px" 
                     ReadOnly="True" CssClass="intxt1"></asp:TextBox>
             </td>             
             <td class="style5" >
                 应收<span lang="zh-cn">金额：<asp:TextBox ID="YingFuKuan" runat="server" 
                     CssClass="intxt1" ReadOnly="True" Width="128px"></asp:TextBox>
                        </td>
                 <td class="style3"><span lang="zh-cn">付款方式：<asp:DropDownList ID="FuKuan" runat="server">
                     <asp:ListItem>现金</asp:ListItem>
                     <asp:ListItem>电汇</asp:ListItem>
                     </asp:DropDownList>
                     </span>
                </td>
         
	        </tr>		       
	       <tr>
	     
	         <td class="style6">实到<span lang="zh-cn">金额：<asp:TextBox ID="YiFuJine" 
                     runat="server" Width="97px" ReadOnly="True" CssClass="intxt1" DataFormatString="{0:c}">0.00</asp:TextBox>
             </td> 
             <td class="style5">未到<span lang="zh-cn">金额：<asp:TextBox ID="WeiFuJine" 
                     runat="server" Width="97px" ReadOnly="True" CssClass="intxt1">0.00</asp:TextBox>
               </td> 
             <td class="style3">本次到款：<span lang="zh-cn"><asp:TextBox ID="BenCiFuKuan" 
                     runat="server" Width="97px">0.00</asp:TextBox>
               </td>
             </tr>
             <tr> 
           <td  colspan="3">
                 <span lang="zh-cn">备注信息：</span><asp:TextBox ID="BeiZhu" runat="server" CssClass="intxt1" 
                        Width="280px"></asp:TextBox>
                        </td>
   
	        </tr>
        </table>
        </br>
  
</div>
      <script>          putBillFoot();</script>
    </form>
</body>
</html>
